package com.lishe.lishe.lishe.module.shopingcart.presenter;

import com.lishe.base.mvp.view.BaseMvpView;
import com.lishe.lishe.lishe.bean.AddressBean;
import com.lishe.lishe.lishe.module.shopingcart.bean.ShopCarBean;
import com.lishe.lishe.lishe.module.shopingcart.bean.SubmitOrderBean;
import com.lishe.lishe.net.BaseProtocal;

public interface ShopCarView extends BaseMvpView {

    void onLoading();
    void onRequestError();
    void onRequestFailure(int errorCode, String msg);

    void onInitSuccess(ShopCarBean response);
    void onAddressSuccess(AddressBean response);
    void onSubmitSuccess(SubmitOrderBean response);
    void onModifyDefAddrSuccess(BaseProtocal response);
}